package entity;

public class Comment {
    private int commentid;
    private int articleid;
    private int userid;
    private String comment_content;
    private String username;
    private String comment_date;

    public Comment() {
    }

    public Comment(int commentid, int articleid, int userid, String comment_content, String username, String comment_date) {
        this.commentid = commentid;
        this.articleid = articleid;
        this.userid = userid;
        this.comment_content = comment_content;
        this.username = username;
        this.comment_date = comment_date;
    }

    public Comment(int articleid, int userid, String comment_content, String username, String comment_date) {
        this.articleid = articleid;
        this.userid = userid;
        this.comment_content = comment_content;
        this.username = username;
        this.comment_date = comment_date;
    }

    public int getCommentid() {
        return commentid;
    }

    public void setCommentid(int commentid) {
        this.commentid = commentid;
    }

    public int getArticleid() {
        return articleid;
    }

    public void setArticleid(int articleid) {
        this.articleid = articleid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getComment_content() {
        return comment_content;
    }

    public void setComment_content(String comment_content) {
        this.comment_content = comment_content;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getComment_date() {
        return comment_date;
    }

    public void setComment_date(String comment_date) {
        this.comment_date = comment_date;
    }
}
